					-*-org-*-

* v1.0.0
** v0.1.0
**** Online hosting and improvments
- [ ] Could be hosted at gitorious
- [ ] Generate a .htaccess for caps/ directory that forbid 'Indexes' viewing
- [ ] Correctly set title an description
- [ ] Correctly set language to english and translate website
  traducted passage can be in french :
     <blockquote lang=”fr”>
     </blockquote>
- [ ] Must add a css style for blockquote with fr lang
- [ ] Could add disqus comments
- [ ] Add a addThis share frame
- [ ] Add contact and sitemap pages
- [ ] Add a AGPL footer with link to nanoc official site and gitorious repo
**** Try content negotiation
     see apache doc https://httpd.apache.org/docs/current/content-negotiation.html
     and try this gem https://github.com/yannlugrin/nanoc-filesystem-i18n
- [ ] Must be tested at our webspace provider
*** v0.0.3
**** Misc. improvments
     CLOCK: [2013-08-11 dim. 17:47]--[2013-08-11 dim. 18:01] =>  0:14
     CLOCK: [2013-08-11 dim. 12:13]--[2013-08-11 dim. 12:23] =>  0:10
- [ ] add w3c validation li nks to the footer
- [X] generate a sitemap.xml
  Try following http://www.stuartellis.eu/articles/nanoc-notes/#sitemap
- [ ] generate RSS and atom feeds
- [ ] We could add descriptions for celeb/shows
  with a warning when description is missing
**** Could load images in js
- [ ] A deferred way to handle thumb and/or full images
  the given div should take the image's size pace in the layout
  then we show a loading gear icon and load the image ion js.
  must be browser safe (integration tests?)
**** Can use minify for css and js files

*** v0.0.2
**** Test the content negociation
- [ ] At least for out hosting provider
  In a subdirectory, with a .htaccess 
  see https://httpd.apache.org/docs/current/content-negotiation.html
**** Improve the footer
- [ ] Should be non sticky
  maybe a /clear:both/ issue ?
- [ ] Add a link to nanoc website
  'Pwered by capsite vx.y.z using <a href>nanoc</a>'
**** Handle tags and new pages
- [ ] Create a tags pages using pagination
- [ ] Create a contact page
- [ ] Create a 'Plan du site' page
- [ ] Maybe archives by year
- [ ] Create a page to handle 404 errors and see if hosting handles it 
  correctly
*** v0.0.1
**** More work
- [ ] Must handle SEO (meta keywords, description)
- [ ] May generate bbcode and HTML of the last news for forums etc...
**** Make the site become muultilingual
see http://nanoc.ws/docs/guides/creating-multilingual-sites/
**** Start a MANUAL.org file
     CLOCK: [2013-10-04 ven. 16:31]--[2013-10-04 ven. 16:41] =>  0:10
- [X] With an example of news file
- [ ] Explain the siteconfig.yml file and the role of the site
**** TODO Should correct mobile errors from GWT
     CLOCK: [2015-03-11 mer. 19:04]--[2015-03-11 mer. 19:23] =>  0:19
*use mobile emulation mode in Chrome to test website*

- [ ] Add a meta viewport in head
=<meta name="viewport" content="width=device-width, initial-scale=1.0">=
- [ ] Try to use more relative width in css
     i.e. 100% instead of 300px
- [ ] Try to use media request and Use two CSS 
see https://developers.google.com/web/fundamentals/layouts/rwd-fundamentals/how-to-choose-breakpoints?hl=fr
<link rel="stylesheet" href="weather.css">
<link rel="stylesheet" media="(max-width:600px)" href="weather-2-small.css">
<link rel="stylesheet" media="(min-width:601px)" href="weather-2-large.css">
  - [ ] for less-than-600px navigator
  - [ ] for more-than-600px navigator

**** TODO [git:feature_IndividualPage] Make images viewable in pages
     CLOCK: [2013-09-28 sam. 18:56]--[2013-09-28 sam. 19:07] =>  0:11
     This feature is to improve ads revenues.
- [ ] Create this branch
- [ ] Each page has its own landing page
- [ ] The previous link can be a javescript browser.histoiry.back() one
- [ ] Each file should be called from *its_hashsum.png* name
  But we must be sure there can't be collision, maybe by comparing files
  with `cmp` linux command
  For example, we create a temporary thumbnail and compare if actual
  thumb is the same image. But it could be long.
**** TODO Additional work
     CLOCK: [2016-07-30 sam. 23:52]--[2016-07-31 dim. 00:46] =>  0:54
     CLOCK: [2015-07-24 ven. 15:24]--[2015-07-24 ven. 15:36] =>  0:12
     CLOCK: [2015-05-13 mer. 17:14]--[2015-05-13 mer. 18:01] =>  0:47
     CLOCK: [2015-05-13 mer. 15:30]--[2015-05-13 mer. 16:40] =>  1:10
     CLOCK: [2015-05-13 mer. 13:51]--[2015-05-13 mer. 14:02] =>  0:11
     CLOCK: [2015-03-08 dim. 13:55]--[2015-03-08 dim. 14:12] =>  0:17
     CLOCK: [2015-03-02 lun. 15:23]--[2015-03-02 lun. 16:05] =>  0:42
     CLOCK: [2015-03-02 lun. 14:26]--[2015-03-02 lun. 15:00] =>  0:34
     CLOCK: [2014-10-07 mar. 11:27]--[2014-10-07 mar. 11:56] =>  0:29
- [X] We must replace the 190x140 banner (DISCONTINUED)
- [X] Add a basic robots.txt to make bing happy
- [X] We must have cookie consent
  cookie definition
  about the 'displayCookieConsent' cookie (12 month)
  Tierce party cookies
    The phpMyVisites cookies
    Social network
    Targetted Ads
  - [X] cookies-en.html (now has an english layout)
  - [X] cookies.html
    see http://www.bfmtv.com/info/mentions-legales/infos-cookies/
- [X] We actually have two errors
  - [X] Errors occur creating thumbnails if output/tn doesn't exist
  - [X] This error at the end of the compilation
    =Errno::ENOENT: No such file or directory @ rb_sysopen - tmp/images_per_person.yml=
    Fix this creating the tmp/ directory
- [X] We must create a page for viewing each image
  to be able to add some ads on this page
  Already a ROADMAP item for this
- [-] in local tests, links doesn't work (link to file:///news/2016-semaine-18/)
  Warning, in *test mode*
  Maybe due to the nanoc version (nanoc 3.7.3)
  - [X] First, see it for css
    It works, change to relative URL (remove the leading /)
  - [X] change sidebar links
  - [X] change homepage links to recent updates
  - [X] change for sidebar links
  - [ ] See if it works when we come from a directory page 
        personnalite/aze.html for example
    It seems it doesn't work.
  - [ ] See why we don't load the index.html file and we see directory content
    maybe the .htaccess file ?
- [ ] There are issues with personnalites.html (showing x image for x celeb).
- [ ] Should not generate news with NOT_ADDED extension
  Doesn't work for instance
- [ ] Should create output/tn/ dir before creating thumbnails
- [ ] Should add a favicon to replace the free one
- [ ] There are issues with gallery and uzbl
- [ ] Make a 'random news' link in navigation menu
  The whole thing is hardcoded in Javascript
- [ ] Create a date helper or partial with date in french
- [ ] Improve news.html
  - [ ] With date of news and list of tags
  - [ ] Previous and next news links from news helper
- [-] Other homepage improvments
  - [X] Must generate a page per news
  - [X] See what in homepage can become partial rendere
    at least head/footer/sidebar
  - [ ] tags must become real widgets
    maybe a Show one also
    limit to first 5 or 10 with most content
**** [feature_bootstrap] May switch to bootstrap
     CLOCK: [2017-07-12 mer. 04:33]--[2017-07-12 mer. 04:46] =>  0:13
- [X] Add mininal bootstrap files
- [ ] Does bootstrap have a left pane mode ?
  yes, see https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/
  - [ ] Add needed files (simple-sidebar.css)
  - [ ] Import css and JS for bootstrap
  - [ ] Start to move sidebar to the... sidebar
  - [ ] All website content must be in #page-content-wrapper
  - [ ] Arrange image gallery in <div class="row">
    With each image in a col-md-4
**** DONE Change the footer link to the current repo
- [X] Code is now hosted at notabug.org
**** DONE First version
     CLOCK: [2014-07-28 lun. 07:11]--[2014-07-28 lun. 09:01] =>  1:50
     CLOCK: [2014-02-14 ven. 10:54]--[2014-02-14 ven. 11:34] =>  0:40
     CLOCK: [2014-02-13 jeu. 11:06]--[2014-02-13 jeu. 11:14] =>  0:08
     CLOCK: [2014-02-12 mer. 15:52]--[2014-02-12 mer. 16:28] =>  0:36
     CLOCK: [2014-02-09 dim. 07:31]--[2014-02-09 dim. 07:40] =>  0:09
     CLOCK: [2014-02-08 sam. 22:02]--[2014-02-08 sam. 22:22] =>  0:20
     CLOCK: [2013-12-17 mar. 09:54]--[2013-12-17 mar. 10:05] =>  0:11
     CLOCK: [2013-10-04 ven. 12:40]--[2013-10-04 ven. 13:16] =>  0:36
     CLOCK: [2013-09-28 sam. 14:14]--[2013-09-28 sam. 14:30] =>  0:16
     CLOCK: [2013-05-10 ven. 00:00]--[2013-05-10 ven. 14:40] => 14:40
- [X] Auto create thumbnails from image to a given size
- [X] A content/caps subdir that contains news items by date/title
- [X] A good image gallery list
- [X] personalites : a list of all persons sorted by image number
- [X] Use previous to present most use persons in sidebar
- [X] tags: list of tags with weight (number of occurences)
- [X] Add a 'Liste completes' des news in the Récentes mise à jour part
  updates page.
- [X] Try a new siteconfig in YAML format
- [X] enable phpmyvisite code with site-id in siteconfig
- [X] Comment out tags in sidebar 'NOT YET IMPLEMENTED'
- [X] Make sure an .htaccess block index in caps subdir
- [-] Preprocess person names and tags
  - [X] Must create a slug helper (to lowercase, replace space with -...)
  - [-] Personnalite preprocessing
    - [X] Create a layout for this (personnalite/slug)
    - [X] Generate a page with this layout for each uniq personnalite
    - [X] Must add image list to example news
    - [-] Need to add images and handle pagination
      We could generate a YAML file in tmp containing images per
      person slugs from the preprocess Rule.
      No need to handle pagination here.
      - [X] Generate a YAML file in tmp containing images per celeb
      - [X] A lib/ helper can return images list per slug name
      - [X] First handling without pagination
      - [X] Test a _pagination partial render with will_paginate css
      - [X] Generate a/multiple page per celeb accorgding to pagination
	with thumbs
      - [X] Print a different message for paginated persons :
	"Cette section contient x images de y sur n pages"
      - [X] The 'personnalités' page looks ugly : wrong layout ?
      - [X] Now each page must have only 'images_per_page' images
      - [X] For paginated personnalities, we must create a redirect page
	instead of the standard page.
	i.e. sandrine-q.html -> sandrine-q-page-1.html
	- [X] Create a preprocess rule setting a new layout
	- [X] Create thois personnalite_redirect new layout  
      - [ ] We must also handle gap si previous pages > 6 or
	next pages > 6 
	gap is *5* 6 7 ... 14 15 16 > (if 5 is current page)
    - [ ] Use the link wherever its possible
      Add it in image lists
- [X] img tags must use alt attribute to describe images
- [X] Should use a _thumbnail partial to render them, using other_assigns
  hash to add infos for the image
- [X] We must remove stats for st.free.fr when in test server
  because actually we are added to phpMyVisites stats
- [X] Must add page number in <title> markup for multipage for search engines
- [X] Add twitter and facebook buttons
  - [X] Add javascript just after <body>
  - [X] Add needed values to configuration
  - [X] Add buttons code just below title
  - [X] No ads in test mode
  - [X] Ads in all pages
- [X] Add a plugrush header banner
  - [X] Add this on each page
  - [X] Add popunder code
  - [X] Add mobile code
- [X] Try tp place some Juicy banners code
- [X] Add a footer to each page including license info and gitorious link
**** DONE Correct project setup
     CLOCK: [2013-07-24 mer. 14:26]--[2013-07-24 mer. 15:20] =>  0:54
     CLOCK: [2013-07-21 dim. 10:48]--[2013-07-21 dim. 11:11] =>  0:23
- [X] Add AGPL license
- [X] Add a DEPENCIES file (mainly for imagemagick's convert)
- [X] Add a AUTHORS file
- [X] Add a GNU compliant ChangeLog file and a text in TOSO
  'Please update GNU compliant ChangeLog' after (8 items by revision)
- [X] Add footer with license info and link to gitorious repository
  Must be tested with a page containing many content.
- [X] The version number must be easy to configure and update hint
  must be in TODO
